{{extends file="index.html"}}
{{block name=nav}}修改密码{{/block}}
{{block name=title}}修改密码
<hr/>{{/block}}
{{block name=notice}}{{/block}}

{{block name=main}}
<div class="panel panel-info">
    <div class="panel-heading"><span class="fa fa-bookmark-o" aria-hidden="true">&nbsp;&nbsp;修改密码</span></div>

    <div class="panel-body">
        <form class="form-horizontal" role="form" action="index.php?c=admin&a=do_change" method="post"
              enctype="multipart/form-data">
            <div class="row">
                <div class="form-group">
                    <label class="control-label col-sm-2" >用户名</label>

                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="name"
                               name="username" style="width:40%" readonly="readonly" value="{{$user.username}}">
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-sm-2 control-label">原始密码</label>

                    <div class="col-sm-10">
                        <input type="password" style="width:40%"  class="form-control" placeholder="Password" name="old_password">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">新的密码</label>

                    <div class="col-sm-10">
                        <input type="password" class="form-control" style="width:40%"  placeholder="Password" name="new_password1">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">确认密码</label>

                    <div class="col-sm-10">
                        <input type="password" class="form-control" placeholder="Password" style="width:40%"  name="new_password2">

                    </div>
                </div>
            </div>
            <hr/>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10 next">
                    <button type="submit" class="btn btn-success tj">提交</button>
                </div>
            </div>
        </form>

    </div>
</div>

{{/block}}